package com.example.framework;

public class NavigationHelper extends HelperWithWebDriverBase{

	public NavigationHelper(ApplicationManager manager) {
		super(manager);
	}

	public void gotoGroupList() {
		if (driver.getCurrentUrl() != "http://localhost/addressbookv4.1.4/group.php") {
		openUrl("http://localhost/addressbookv4.1.4/group.php");
		}
		return;
	}

	public void openMainPage() {
		if (driver.getCurrentUrl() != "http://localhost/addressbookv4.1.4/group.php") {
		openUrl("http://localhost/addressbookv4.1.4");
		}
		return;
	}
}
